package com.aqumon.www.entity.request.scripts;

import com.aqumon.www.entity.request.ParamValidate;
import lombok.Data;

@Data
public class ScriptDelReq implements ParamValidate {

    private Long id;

    @Override
    public void validate() {
        if (id == null || id <= 0) {
            throw new IllegalArgumentException("脚本id为空");
        }
    }
}
